//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<IStore.h>
///	@path	~/src/database/store/
///	@date	2007/11/27
///	@desc	Storage object interface.

#pragma once

#include "xeres.h"

#include "object/IObject.h"

#include "database/database.h"

namespace xeres {

	/*!
		\class	IStore
		\brief	Storage object interface.
	*/
	class IStore : public IObject
	{
	public:

		/// \ctor
		IStore( void );

		/// \dtor
		virtual ~IStore( void );

		DECL_IOBJECT_INTERFACE( IStore , IObject );

	public:

	//@ interface

		/*!
			\brief		Get file info.
		*/
		virtual bool GetInfo( DataInfo& datainfo ) = 0;
	};

} // namespace xeres
